package com.subfg.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;



@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.subfg.common", "com.subfg.api"})
@MapperScan({"com.subfg.api.dao*", "com.subfg.common.dao*"})
public class SubfgApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(SubfgApiApplication.class, args);
    }
}
